package com.share.design.chain;

import lombok.Getter;
import lombok.Setter;

/**
 * 责任链模式
 * 示例：加薪请求
 * author:caifan
 * date:2020/2/5
 */
public abstract class Manager {

    @Setter
    @Getter
    private Manager manager;

    abstract void request(Request request);
}
